package com.eastfair.certificate.dto;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.certificate.enumeration.CertificateCertificateTypeEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 证件设置
 * </p>
 *
 * @author ligang
 * @since 2023-02-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CertificateSaveDTO", description = "证件设置")
public class CertificateSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 证件类型:#{CAR:车证;PEOPLE:人证;POWER:机力车证;OTHER:其他证;}
     */
    @ApiModelProperty(value = "证件类型:#{CAR:车证;PEOPLE:人证;POWER:机力车证;OTHER:其他证;}")
    private CertificateCertificateTypeEnum certificateType;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Size(max = 256, message = "名称长度不能超过256")
    private String name;
    /**
     * 工本费
     */
    @ApiModelProperty(value = "工本费")
    private BigDecimal costMoney;
    /**
     * 超时费
     */
    @ApiModelProperty(value = "超时费")
    private BigDecimal overTimeMoney;
    /**
     * 押金
     */
    @ApiModelProperty(value = "押金")
    private BigDecimal depositMoney;
    /**
     * 二审更新时间
     */
    @ApiModelProperty(value = "二审更新时间")
    private LocalDateTime secondAuthTime;
    /**
     * 二审
     */
    @ApiModelProperty(value = "二审")
    private Long secondAuthId;
    /**
     * 初审更新时间
     */
    @ApiModelProperty(value = "初审更新时间")
    private LocalDateTime firstAuthTime;
    /**
     * 初审
     */
    @ApiModelProperty(value = "初审")
    private Long firstAuthId;
    /**
     * 已使用指标数
     */
    @ApiModelProperty(value = "已使用指标数")
    private Integer useIndexNumber;
    /**
     * 指标数
     */
    @ApiModelProperty(value = "指标数")
    private Integer indexNumber;
    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
    /**
     * 表单组id
     */
    @ApiModelProperty(value = "表单组id")
    private Long filedGroupId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionId;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 团队id
     */
    @ApiModelProperty(value = "团队id")
    private Long teamId;

}
